package org.wms.minbearwcs.serivce.agv.task.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.wms.minbearwcs.serivce.agv.task.agvTask.DefaultAgvTaskDispatcher;
import org.wms.minbearwcs.serivce.agv.task.agvTask.AgvTaskDispatcher;

@Configuration
public class AgvTaskConfig {

    @Bean
    @ConditionalOnMissingBean
    public AgvTaskDispatcher agvTaskDispatcher(){
        return new DefaultAgvTaskDispatcher();
    }

}
